package com.ydd.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ydd.entity.SysConfig;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangxiaojun
 * @since 2023-05-14
 */

public interface SysConfigMapper extends BaseMapper<SysConfig> {

    //增加配置
    void add(SysConfig sysConfig);

    List<SysConfig> findAll();

    String findAttrValueByAttrKey(String arrtKey);
}
